package com.quanyan.orderpay.vo.request;


import com.quanyan.common.enums.PlatformTypeEnum;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * Created by Zheng.Ke
 * Date 2016/11/7.
 */
public class ReqChangeSettingVo {
    @NotNull
    private Integer payId;
    @NotNull
    @Pattern(regexp = "IOS|ANDROID|H5", message = "platform只能取IOS、ANDROID或H5")
    private String platform;
    @NotNull
    @Min(0)
    @Max(1)
    private Byte enabled;

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public Integer getPayId() {
        return payId;
    }

    public void setPayId(Integer payId) {
        this.payId = payId;
    }

    public Byte getEnabled() {
        return enabled;
    }

    public void setEnabled(Byte enabled) {
        this.enabled = enabled;
    }
}
